<?php
namespace app\common\model;



class AssortComm extends BaseCommon
{
    ///主键id
    protected $pk = 'assort_id';
    ///表名
    protected $table = 'dh_assort';



    ///获取状态为有效的分类数据
    public function getValidAssort(){
       return $this->where('assort_status',1)->order('assort_sort desc')->column('assort_id,assort_title');
    }


}